Forum has been created to help all our customers in properly working our theme. We offer complete help with configuration theme and make default look, just like on our Bretheon demo. We don`t offer theme customization.

Before creating a new discussion, please:
1. Check on forum if discussion hasn`t been created before. Use the forum Search on the right.
2. Read carefully the documentation included to package.
If you didn`t find what you need and would like to post a new question click the "Start a New Discussion" button on the right.
4. You can post on forum only after registration (you need purchase code to register) .


NOTE!!! If you are starting a new topic and have got problems with your site and you want us to check what`s wrong please always give url to your site because without that we can`t check what`s wrong. Each case may be different because of your installed plugins, servers or other things.

Recording Enquiries in Google Analytics
  • As the URL doesn’t change once the form has been submitted we currently aren’t able to track these as goal conversions. Is it possible to execute a virtual pageview when the thankyou message displays after submitting the form? This would involve firing a request to Google Analytics which allows us to track the enquiry?

    Any help would be greatly appreciated
  • 11 Comments sorted by
  • Please sign in to see answear!
  • Thanks for your response, I have been suggest trying the below, if you think this would work can you tell me where I should paste it?

    Google Analytics allows virtual pageviews where we can fire off a request to Google Analytics and trigger this. As the thankyou message always displays on the contact us page (the default is display:none; on the CSS) this would track every time the contact us page loads (not when the form is submitted). I wanted to suggest doing this on the onclick event for the button: onclick="_gaq.push(['_trackPageview, '/enquiry-submitted']);"
  • Please sign in to see answear!
  • Thanks for getting back to me, I have tried what you suggested, inserting ,the click value (as seen below), however is resets some of the visual appearance of the website. Can you suggest anything?

    $output .= '<input type="submit" value="'. $translate['contact-submit'] .'" onclick="_gaq.push(['_trackPageview, '/enquiry-submitted']);" />';
  • Please sign in to see answear!
  • www.peopleinsight.co.uk
  • Please sign in to see answear!
  • I have had to remove it because it wasn't working, i have it on dev.andjames.co.uk and when i put the code below in I get this message: 

    Parse error: syntax error, unexpected T_STRING in /home/andjames/public_html_dev/wp-content/themes/bretheon/functions/theme-shortcodes.php on line 272

    $output .= '<input type="submit" value="'. $translate['contact-submit'] .'" onclick="_gaq.push(['_trackPageview, '/enquiry-submitted']);" />';
  • Please sign in to see answear!
  • Thank you very much for your help! I have got this working with the below!


    $output .= '<input type="submit" value="'. $translate['contact-submit'] .'" onclick="_gaq.push([\'_trackPageview\',\'enquiry-submitted\']);" />';

  • Please sign in to see answear!