We have solution tags in the backend of our webpages - every page is tagged with a solution area. Now we want to use these tags for our interest scoring/solution scoring.
Example: I visit the webpage example.com/how-to-forecast with a tag in the backend: analytics.
I want marketo to read the tag: analytics and give +5 points on interest score: analytics.
Our webdevelopers don’t want to add these tags in the url as part of the slug - reason: keep them clean and user-friendly.
What are the best practices to achieve this? How do we push the tags to marketo when someone is visiting the page? (must be usable in trigger). Any tips much appreciated.
Solved! Go to Solution.
We think using a custom endpoint for this would be the best. It takes us no time to set it up and it keeps the HTML pages lean and clean. However, we wonder what's the best practice in this case.
That sounds like the worst choice by far! It also doesn’t really keep the page “lean” because you need JS to fetch the data. And you need to maintain a whole other service to get data the page already knows about itself. Really the last thing I would do.
The most appropriate place would be a <meta> tag. I’ve used <meta name="collection"> for this.
Yes, you can send a custom Munchkin Visit Web Page hit using the JS API. But can’t give further guidance until you give an actual example of how the tags are embedded in the page.
Thanks for your quick reply Sanford, and already thanks in advance for helping out - I assumed if anyone would answer this, it's probably you. 🙂
We think using a custom endpoint for this would be the best. It takes us no time to set it up and it keeps the HTML pages lean and clean. However, we wonder what's the best practice in this case.
That sounds like the worst choice by far! It also doesn’t really keep the page “lean” because you need JS to fetch the data. And you need to maintain a whole other service to get data the page already knows about itself. Really the last thing I would do.
The most appropriate place would be a <meta> tag. I’ve used <meta name="collection"> for this.
Ok, thanks a lot for your suggestion. Any chance that you could share how you send a custom Munchkin Visit Web Page hit using the JS API?
This should help -- Munchkin Visit webpage