Skip to main content
January 9, 2013
Question

Switching to Marketo and need to update pages with Marketo page analytics code

  • January 9, 2013
  • 7 replies
  • 1951 views
We are switching our corporate site to Marketo and need to update all of our pages with the Marketo code to capture leads/data from each. I was hoping it was a simple find/replace with the new code from Marketo. Has anyone done this?

Can you direct me to information on doing this or on the code itself? Please : )
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

7 replies

January 9, 2013
Theresa - I think this is really going to depend on your site and corresponding CMS if you are leveraging one. If you can share some of the specifics on your deployment we might have some users that give you some insight.

While you will eventually want to remove unnecessary code -  your first action may not have to be a replace if it is more complicated then an insert/apply.

For instance if you are leveraging Drupal, you could insert at the theme level and have it apply across your property with that theme. Other CMS systems have similar functions.
January 9, 2013
We are using WP and we're hoping to make a global change as we work on a re-design. So we don't want to recreate much if necessary. Just update and refresh the site. Ideally we were hoping to simply update code within WP.

thanks for any insight Clinton.
January 9, 2013
WP is pretty easy if you have someone who has access to the config/theme files - you'd want someone who is familar to to the editing.

I think there are also some plugins readily available if you search online: http://wordpress.org/extend/plugins/marketo-tracker/
January 9, 2013
We definitely have access and I think we can figure out how to do it. Especially if it's just a code swap. If it's an API, Widget, Plug-In; then we'll investigate it.

Any idea if there's code?


January 9, 2013
https://community.marketo.com/MarketoArticle?id=kA050000000KyqX&src=univ
January 9, 2013
Just as an FYI- the Munchkin wordpress Plug-In just adds the Munchkin code in the footer. In general, I've found it is about as easy to just replace it in your theme's footer by hand.

Clinton's link has the right way to find the Munchkin Javascript snippet for your site.

-Erik
January 9, 2013
thank you very much!