Mailing Id in API

  • 1
  • Problem
  • Updated 5 months ago
  • Solved
Archived and Closed

This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: EOL CLEANUP

Currently we are using [[mailing_id]] in our click-through URLs so we can capture the mailing id in Google Analytics for reporting purposes.  The mailing id that we are able to pull from the EMMA API does not match what is pushed to Google Analytics.  The mailing id that we can pull from EMMA is matching what is generated when using [% mailing:mailing_id %].  We stopped using [% mailing:mailing_id %] in our URLs since it was preventing clicks from being recorded in EMMA.  Do you know how we pull the id generated from [[mailing_id]] from the API?

Thanks,

Amanda
Photo of Brookfield Homes

Brookfield Homes

  • 1 Post
  • 0 Reply Likes

Posted 5 months ago

  • 1
Photo of Andrew Heuback

Andrew Heuback, Official Rep

  • 142 Posts
  • 12 Reply Likes
Hey Amanda! You'll actually want to use this with your personalized URL:

[[__mailing_id__]]

It's close but slightly different to your  [[mailing_id]]. Give that a shot and let me know if you still need further assistance!