We would like to include custom HTML in the confirmation email message body that is sent someone signs up through Custom Form 7.
The actual HTML contains JavaScript and it is:
<script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"></script>
<h2>Your Information</h2>
- Country Code: <script>document.write(geoip_country_code());</script>
- Country Name: <script>document.write(geoip_country_name());</script>
- City: <script>document.write(geoip_city());</script>
- Region: <script>document.write(geoip_region());</script>
- Region Name: <script>document.write(geoip_region_name());</script>
When I just embedded the HTML as is we got the following (no data):
Your Information
• Country Code:
• Country Name:
• City:
• Region:
• Region Name:
The reason we would like to include this is so that we know where the sign up came from within the email instead of looking up each individual conversion in Google Analytics.
Any suggestions on how to do this would be greatly appreciated.