0

Is there a way to automatically add Google Analytics tracking code to Cloud Pages?

The objective is to have the code already implemented on every new Landing Page created.

1
  • You could probably write some clientside JS to append the URLs with the right analytics parameters and reuse it on each page Oct 20, 2019 at 23:10

1 Answer 1

1

No, there is no way to automatically add Google Analytics tracking code to every new Cloud Page created. You can, however,

  1. Create a Code Snippet that contains the Google Analytics tracking code
  2. Use the ContentBlockByName AMPscript function (or ContentBlockByKey, ContentBlockById) to insert the tracking code into the CloudPage

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .