Skip to main content
April 1, 2015
Question

Stats on a redirect rule?

  • April 1, 2015
  • 2 replies
  • 975 views
I'm looking but not finding an answer to this...

Is there a way to report stats on a redirect rule? i.e. how many times it's been clicked or called? 

I'm setting up a redirect to an external page that isn't in my domain authority, so I can't track it from the target side.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Josh_Hill13
Level 10
April 1, 2015
No, you cannot.

You *may* be able to check if the original page is receiving visits, but I don't know if Marketo lets you get to the page before redirecting.

If you installed GA code on all pages, perhaps that would help.

Try asking support if they know of a way.
SanfordWhiteman
Level 10
April 2, 2015
@David H A redirect rule proper (in the admin UI) uses an HTTP 301. There's no way to load any tracking code on the original page this way (Marketo could check the hit in their internal web logs, of course, but AFAIK this is never displayed).

However, you can use a JS redirect instead, allowing you to Munchkin and log the page view before doing the redirect.  Make sure to load Munchkin in Simple mode, not asynchronous.

<script type="text/javascript">
document.write(unescape("%3Cscript src='//munchkin.marketo.net/munchkin-beta.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script>Munchkin.init('YOUR-MUNCHKINID-HERE');</script>
<script>document.location.href = 'http://my-offsite-page.example.com'</script>