<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>What is the placeholder for the user who created an article?</title>
        <link>https://interactivetools.com/forum/forum-posts.php?What-is-the-placeholder-for-the-user-who-created-an-article-81699</link>
        <description></description>
        <pubDate>Fri, 09 Oct 2026 15:48:51 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;What-is-the-placeholder-for-the-user-who-created-an-article-81699" rel="self" type="application/rss+xml" />

                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2244334#post2244334</link>
          <description><![CDATA[<p>Hello,</p>
<p>I do not know if that can still be useful for you. But, you can simplify your code if you use a "Content Groupings".</p>
<p>&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-x');</p>
<p><span style="color:#ff0000;">gtag('config', 'UA-xxxxxxxxx-x', {'content_group1': '$article.createdByUserNum$'});</span><br />&lt;/script&gt;</p>
<p>You can use 5 groups.</p>
<p>You can find additional information here:<br /><a href="https://support.google.com/analytics/answer/2853546?hl=en" rel="nofollow">https://support.google.com/analytics/answer/2853546?hl=en</a><br /><a href="https://online-metrics.com/google-analytics-content-groupings/" rel="nofollow">https://online-metrics.com/google-analytics-content-groupings/</a></p>
<p>Thanks,<br />Djulia</p>]]></description>
          <pubDate>Sat, 07 Dec 2019 04:36:42 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2244334#post2244334</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243545#post2243545</link>
          <description><![CDATA[<p>Hi Sven, </p>
<p>There's no automatic, easy way.  How you'd do it is when you import all your articles into the new system you'd import the old link into a "permalink" field.  Then use either the permalinks plugin or some custom code to show the correct article.</p>
<p>How permalinks work is that when a request for a page that doesn't exist is received, a PHP script handles that request, so instead of showing 404 it can show a page generated from the database.  To the end-user or a search engine it is exactly the same in every way.</p>
]]></description>
          <pubDate>Thu, 04 Jul 2019 13:49:23 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243545#post2243545</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243544#post2243544</link>
          <description><![CDATA[<p>Hello Dave, thank you for your reply. I bought 2 licenses of CMS Builder when it came out (2012 I think) but had a problem with it:</p>
<p>My site is huge (more than 150,000 pages built with Artman) all with the extension .shtml</p>
<p>The new software uses the extension .php</p>
<p>Since I have thousands of pages already positioned in Google and other Search Engines, I can't risk losing my positioning renaming all my pages so that they use .php now</p>
<p>If there's a way now to convert my site to CMS Builder keeping my current filenames that would be very nice.</p>]]></description>
          <pubDate>Thu, 04 Jul 2019 13:38:05 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243544#post2243544</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243543#post2243543</link>
          <description><![CDATA[<p>Hi Sven, </p>
<p>Unfortunately, none of us have used Article Manager in years so we're really not sure. </p>
<p>It's always a challenge with old software (12 years since last update) on how much time to put into it and when to start on something new.</p>
<p>If you want to try CMS Builder it's a free download now.  That will be a lot of work but is a decade more modern.</p>
<p>Sorry, I can't be of more help! </p>
]]></description>
          <pubDate>Thu, 04 Jul 2019 12:31:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243543#post2243543</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243523#post2243523</link>
          <description><![CDATA[<p>Hello Damon, thank you for your reply. </p>
<p>I did the <span>&lt;!-- templatePlaceholderList --&gt; before searching on your forum. That is where I found the $currentuser.fullname$ and $currentuser.num$ placeholders, which unfortunately change when someone edits the article&gt;</span></p>
<p><span>I created a placeholder called ANALYTICS in the accounts section, so that each editor can have a Google Analytics code added to their articles and check their performance, while I can pay them based on the number of visits they generate to our site. </span></p>
<p><span>So, $currentuser.analytics$ does kind of work, but not completely:</span></p>
<p><span>If user A publishes an article, his Google Analytics is inserted and his visits are counted. BUT! If user B (an admin) edits the article to correct any issue, then the GA code from user A is replaced by the GA code from user B.</span></p>
<p><span>I am looking for the correct placeholder to use: instead of 'CURRENTUSER' it should be something like 'ORIGINALUSER'</span></p>
<p><span>I already tried guessing dozens of possibilities, including:</span></p>
<ul><li><span>$user.analytics$</span></li>
<li><span>$username.analytics$</span></li>
<li><span>$createdbyuser.analytics$</span></li>
<li><span>$author.analytics$</span></li>
<li><span>etc...</span></li>
</ul><p><span>Right now, I have a large If / Then statement at the end of each of my 64 templates, but I'm planning on getting new authors and I can't edit 64 templates each time I add a new person:</span></p>
<p><br />&lt;!-- templateIf : $article.createdByUserNum$ eq '30' --&gt; <br />&lt;!-- Amanda Juarez --&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-1" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-1</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-1');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>
<p>&lt;!-- templateIf : $article.createdByUserNum$ eq '34' --&gt; <br />&lt;!-- Bayron Garcia--&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-2" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-2</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-2');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>
<p>&lt;!-- templateIf : $article.createdByUserNum$ eq '35' --&gt; <br />&lt;!-- Oscar Estrada --&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-3" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-3</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-3');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>
<p>&lt;!-- templateIf : $article.createdByUserNum$ eq '38' --&gt; <br />&lt;!-- Axel Natareno --&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-4" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-4</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-4');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>
<p>&lt;!-- templateIf : $article.createdByUserNum$ eq '39' --&gt; <br />&lt;!-- Elsa Robles --&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-5" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-5</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-5');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>
<p>&lt;!-- templateIf : $article.createdByUserNum$ eq '40' --&gt; <br />&lt;!-- Pablo Ordoñez --&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-6" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-6</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-6');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>
<p><br />&lt;!-- templateIf : $article.createdByUserNum$ eq '41' --&gt; <br />&lt;!-- Ana Lucia Jimenez --&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-7" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-7</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-7');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>
<p><br />&lt;!-- templateIf : $article.createdByUserNum$ eq '42' --&gt; <br />&lt;!-- Alex Castillo --&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-8" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-8</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-8');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>
<p><br />&lt;!-- templateIf : $article.createdByUserNum$ eq '43' --&gt; <br />&lt;!-- Yasmin Salguero --&gt;<br />&lt;script async src="<a href="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-9" rel="nofollow">https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxxx-9</a>"&gt;&lt;/script&gt;<br />&lt;script&gt;<br />window.dataLayer = window.dataLayer || [];<br />function gtag(){dataLayer.push(arguments);}<br />gtag('js', new Date());</p>
<p>gtag('config', 'UA-xxxxxxxxx-9');<br />&lt;/script&gt;<br />&lt;!-- /templateIf --&gt;</p>

<p>An alternative would be to be able to somehow INCLUDE the above code with a &lt;!--#include virtual="/authors.htm" --&gt; file able to determine which author's GA code it has to place in the page (inserting the above code and calling it via &lt;!--#include virtual="/authors.htm" --&gt; inserts every author's code into every page, so it counts each visit to every page as a visit to each author)</p>
]]></description>
          <pubDate>Thu, 27 Jun 2019 20:39:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243523#post2243523</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243522#post2243522</link>
          <description><![CDATA[<p>Hi Sven,</p>
<p>In the Article Manager templates, you can add this placeholder:</p>
<p>&lt;!-- templatePlaceholderList --&gt;</p>
<p>The templatePlaceholderList command generates a complete list of all the placeholders available for the template.</p>
<p>If you put it in the template footer, it will generate a list of all the placeholder and values available for that template.</p>
<p>Hope that helps.</p>]]></description>
          <pubDate>Thu, 27 Jun 2019 13:11:36 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243522#post2243522</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243520#post2243520</link>
          <description><![CDATA[<p>Hi Robin, thanks a lot for your reply. You're right, I'm still using Artman 2.1, and I already tried the $article.author$ placeholder which didn't work (<span>[unknown placeholder $article.author$])</span></p>
<p>I created a placeholder in the accounts section named 'analytics ', what I'm trying to do is to place a different google analytics account depending on the article's author, this way I can pay my authors based on the amount of traffic their articles generate to our site.</p>
]]></description>
          <pubDate>Thu, 27 Jun 2019 00:33:40 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243520#post2243520</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243518#post2243518</link>
          <description><![CDATA[<p>Hi <span>Sven,</span></p>
<p><span>It sounds like you're using Article Manager?  Do you have $article.author$ available as a placeholder?</span></p>
<p><span>Thanks,<br /></span><span>Robin</span></p>]]></description>
          <pubDate>Wed, 26 Jun 2019 12:06:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243518#post2243518</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243517#post2243517</link>
          <description><![CDATA[<p>Heelo, any ideas anyone? If there's a placeholder for the "current user" there should be a placeholder for the creator of the article! I went to bed at 3 AM guessing but none of my guesses worked!</p>]]></description>
          <pubDate>Tue, 25 Jun 2019 23:12:57 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243517#post2243517</guid>
        </item>
                <item>
          <title>What is the placeholder for the user who created an article?</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2243513#post2243513</link>
          <description><![CDATA[<p>Hello, on the list of placeholders I can see $currentuser.fullname$ and $currentuser.num$ as the users who edited for the last time an article. So, if user ABC creates an article but some time later user XYZ edits the same article, $currentuser.fullname$ and $currentuser.num$ will change from ABC to XYZ.</p>
<p>What placeholder should I use to ALLWAYS KEEP the original user's fullname and num?</p>
<p>Thank you</p>]]></description>
          <pubDate>Tue, 25 Jun 2019 02:24:35 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2243513#post2243513</guid>
        </item>
              </channel>
    </rss>
  