Analytics
5.8K members online now
5.8K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Goal for Traffic from external referrer page

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

my goal seems to be pretty straightforward. However, I haven't found an answer yet. I need to setup a goal in analytics for a purchase. It is crucial that the funnel includes an external website that is not under our control. A campaign or domain cross-linking are no options. Example:

google.com > /products.php > /cart.php > /thank-you.php

How can I include the external URL in the funnel? Is it possible at all? Or is there a better solution inside analytics?

Thanks!

Mike

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Moses J
August 2016

Re: Goal for Traffic from external referrer page

Top Contributor
# 2
Top Contributor

Hi,

 

You can send a virtual pageview to GA when the referrer is the external page.

 

<script>
var ref1= document.referrer;

var search = "external-page.html";
if (ref1.indexOf(search) > -1)
    ga('send', 'pageview', '/external.html');
</script>

Then add '/external.html' to the funnel.

 

Hope this helps.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Moses J
August 2016

Re: Goal for Traffic from external referrer page

Top Contributor
# 2
Top Contributor

Hi,

 

You can send a virtual pageview to GA when the referrer is the external page.

 

<script>
var ref1= document.referrer;

var search = "external-page.html";
if (ref1.indexOf(search) > -1)
    ga('send', 'pageview', '/external.html');
</script>

Then add '/external.html' to the funnel.

 

Hope this helps.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Goal for Traffic from external referrer page

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
That's it! Awesome. Thanks a lot!