Select to view content in your preferred language

Can I add a facebook targeting pixel to the code attachment section of the Web application settings for Story Maps? Will that pixel each visitor to my map?

880
3
01-09-2018 02:06 PM
AbbeyWoodcock
New Contributor

I'd like to track who contributes to my Crowdsourced story map so I can communicate with them later. Can the "Code Attachment" setting shown here be used to add a FB tracking pixel to the map?

0 Kudos
3 Replies
StephenSylvia
Esri Regular Contributor

No, the code attachment will you to attach a zip file of code to the item that will allow you, or others to, download. If you look at the original template items (those in the gallery) in ArcGIS Online (AGO), they will provide you a download of the template that you can host on your own server.

The AGO platform does not allow you to upload or host code that can be run on the platform. This is a security restriction to prevent hackers from running unauthorized code that would attack our servers or our user's computers. 

We do open source all our story maps so you can download and modify them as you need to. Once you customize them, you will be required to host the app on your own server. Once you have it hosted, you can reference your version of the app in AGO as item so you can have it in your content or added to the template galleries. Although, it is referenced in AGO, all the code will be running from your servers.

MichaelHeavenor
Emerging Contributor
The AGO platform does not allow you to upload or host code that can be run on the platform.

How is this affected by Python Notebooks being able to be uploaded as items in ArcGIS Online and ArcGIS Enterprise? Does this not allow anyone to write arbitrary Python and have it run in the AGO environment?

0 Kudos
by Anonymous User
Not applicable

Thanks for answering the question! Sorry for resurrecting this thread but just wondering if by "host on your own server" you meant that for example we could upload on our company website to host it? Or my organisations server within AGO?

0 Kudos