Stats on a redirect rule?

Anonymous
Not applicable

Stats on a redirect rule?

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.
Tags (1)
2 REPLIES 2
Josh_Hill13
Level 10 - Champion Alumni

Re: Stats on a redirect rule?

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 - Community Moderator

Re: Stats on a redirect rule?

@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>