I am trying to get extra promotion buttons in Gmail.

The Salesforce documentation says that placing this code into an email

Google Promotion Tab

will show some extra buttons in the promotion tab.

I'm not able to get this working. I manage to see the email in the promotion tab not I don't see any buttons.

I also tried pulling the code from a data extension but still the same.

  • Is javascript even allowed to run in email context in SFMC ?

1 Answer 1


Support is mentioning that the correct way of doing this is pulling the code from the Data Extension. Even if the code is right, it is up to Google to show it or not in Gmail. Not a Salesforce issue.

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