• Resolved bhicken

    (@bhicken)


    What is the tag I need to use to get the referrer url? I have tried [cf7rfr_referrer] and [Referrer] but neither work.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have the same question!

    Cheers

    Thread Starter bhicken

    (@bhicken)

    I found out how to do it. Here are the instructions:
    1. In the Form builder tab for your Contact Form 7 form you will now see a button to be able to create the “Referrer” tag. This inserts a tag similar to [cf7rfr_referrer cf7rfr_referrer-###].
    2. In the Mail tab just add this mail tag: [cf7rfr_referrer-###] (of course, using the real number, not just hash tags)

    Note – I have tested this and it seems to only give the previous page or URL. Thus if I came to the page from Google and submitted the form this plugin would show Google as the referrer. However, if I navigate to a second page on the website and submit the form this plugin would show the first page I was just on as the referrer.

    This is not the behavior I was looking for. I found https://www.fldtrace.com/referral-conversion-tracking-with-wordpress-contact-form-7 which shows the original referrer for up to 2 hours that the visitor is on the site no matter how many pages the user visits. It takes a little more to set this up (not just a simple plugin install) but the instructions are a lot clearer than they are for this plugin.

    • This reply was modified 8 years, 1 month ago by bhicken.

    Hi Bhicken,

    Thanks a lot, I much appreciate your post, will try with that one you mentioned.

    Cheers

    Plugin Author damiarita

    (@damiarita)

    Hi guys,

    I am sorry I didn’t see this thread.

    You are right. What this plugin does is checking the HTTP referrer. Which is the URL where the user clicked into your contact form.

    It was not intended to tell you the source of your traffic (Google Analytics is probably the tool for that). It is intended to give some context to the user’s message. It is helpful in those cases where the client says: “I am interested!” or something like that. Knowing which URL he/she is coming from let’s you know what product is in his/her mind.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘What tag should be used to get the referrer info?’ is closed to new replies.