<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Track Which Website User Came From?</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Track Which Website User Came From?</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:32:34 +0000</pubDate>

<item>
<title>grossbusterscc on "Track Which Website User Came From?"</title>
<link>https://www.machform.com/forums/topic/track-which-website-user-came-from#post-23364</link>
<pubDate>Mon, 01 Jun 2015 02:12:44 +0000</pubDate>
<dc:creator>grossbusterscc</dc:creator>
<guid isPermaLink="false">23364@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Thank you, frankzobitz for your response!  I guess I'm in a little over my head, I don't really know how to work with PHP.&#60;/p&#62;
&#60;p&#62;...anyone want to explain the steps on how to implement this?  =)&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>frankzobitz on "Track Which Website User Came From?"</title>
<link>https://www.machform.com/forums/topic/track-which-website-user-came-from#post-23361</link>
<pubDate>Sun, 31 May 2015 20:41:14 +0000</pubDate>
<dc:creator>frankzobitz</dc:creator>
<guid isPermaLink="false">23361@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Couldn't you assign the page URL to a variable and then use that variable in the embed code?&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
$Get_url = &#34;http://&#34; . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URl'];&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;var __machform_url = 'http://www.domain.com/form/embed.php?id=12345&#38;#38;element_id=&#38;lt;?echo $Get_url?&#38;gt;
&#60;/p&#62;</description>
</item>
<item>
<title>grossbusterscc on "Track Which Website User Came From?"</title>
<link>https://www.machform.com/forums/topic/track-which-website-user-came-from#post-23360</link>
<pubDate>Sun, 31 May 2015 14:14:28 +0000</pubDate>
<dc:creator>grossbusterscc</dc:creator>
<guid isPermaLink="false">23360@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;To take this one step further, does anyone know if there is a line of code that can be used to 'automatically' or 'dynamically' add the URL the form is embedded on into the hidden text field?   This would be especially useful for a large website with many pages which has a machform embedded on each page.  It would be nice to be able to see exactly which page the user came from WITHOUT having to change the url in the embed code to match each individual page of the website.  i.e. &#60;a href=&#34;http://www.example.com/page1&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com/page1&#60;/a&#62; , &#60;a href=&#34;http://www.example.com/page2&#34; rel=&#34;nofollow&#34;&#62;http://www.example.com/page2&#60;/a&#62; etc.&#60;/p&#62;
&#60;p&#62;Thank you in advance!&#60;/p&#62;
&#60;p&#62;-Robert
&#60;/p&#62;</description>
</item>
<item>
<title>grossbusterscc on "Track Which Website User Came From?"</title>
<link>https://www.machform.com/forums/topic/track-which-website-user-came-from#post-23355</link>
<pubDate>Fri, 29 May 2015 23:22:57 +0000</pubDate>
<dc:creator>grossbusterscc</dc:creator>
<guid isPermaLink="false">23355@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This works like a charm, thank you so much!
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Track Which Website User Came From?"</title>
<link>https://www.machform.com/forums/topic/track-which-website-user-came-from#post-23332</link>
<pubDate>Mon, 25 May 2015 10:05:10 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">23332@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;The easy way, you can put a single line text field into your form and parse parent domain url information through url variable.&#60;br /&#62;
You can use iframe embed code for this and put the url variable like this on your form url :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;iframe src=&#38;quot;.../embed.php?id=1234&#38;#38;element_id=http://site1.com&#38;quot; ..&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In there I assume single line text field id is 1 and then you can hide that single line text id from the user using css code.&#60;br /&#62;
For further information, you can see these link :&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.appnitro.com/doc-url-parameters&#34; rel=&#34;nofollow&#34;&#62;http://www.appnitro.com/doc-url-parameters&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>grossbusterscc on "Track Which Website User Came From?"</title>
<link>https://www.machform.com/forums/topic/track-which-website-user-came-from#post-23331</link>
<pubDate>Mon, 25 May 2015 06:26:14 +0000</pubDate>
<dc:creator>grossbusterscc</dc:creator>
<guid isPermaLink="false">23331@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I would like to embed the same form on multiple websites and it would be great if I could track which site the user filled out the form at.&#60;/p&#62;
&#60;p&#62;I currently have multiple versions of the same exact form; one for each site.  When a user fills one out, I know which site they came from because I set the subject line for the email I receive upon submission as the domain with that particular form.  This method works, but is a massive pain whenever we need to make changes to the forms- we have to change each one individually.&#60;/p&#62;
&#60;p&#62;Any suggestions?&#60;/p&#62;
&#60;p&#62;Thanks!!&#60;/p&#62;
&#60;p&#62;-Robert
&#60;/p&#62;</description>
</item>

</channel>
</rss>
