Adding Google Analytics on Appmaker

Appmaker
5 min readDec 1, 2022

--

After installing Google Tags on your Appmaker App, you can track events in real time by adding Google Analytics. The article describes the steps you should follow to add Google Analytics on Appmaker.

ඔබගේ Appmaker App මත Google Tags ස්ථාපනය කිරීමෙන් පසු, ඔබට Google Analytics එකතු කිරීමෙන් තත්‍ය කාලීන සිදුවීම් නිරීක්ෂණය කළ හැක. Appmaker මත Google Analytics එක් කිරීමට ඔබ අනුගමනය කළ යුතු පියවර ලිපිය විස්තර කරයි.

  1. Go to Google Analytics and create an Account. Google Analytics වෙත ගොස් ගිණුමක් සාදන්න.

2. Enter a name for the account and click the “Next” button. ගිණුම සඳහා නමක් ඇතුළත් කර “Next” බොත්තම ක්ලික් කරන්න.

3. In the next step, you need to create the Google Analytics property. Enter a name for the property, change the country to Sri Lanka, and the currency to Sri Lankan Rupees. After doing these changes, click on the “Next” button.

මීලඟ පියවරේදී, ඔබ Google Analytics Property නිර්මාණය කළ යුතුය. Property සඳහා නමක් ඇතුළත් කරන්න, රට ශ්‍රී ලංකාව ලෙසත්, මුදල් ශ්‍රී ලංකා රුපියල්වලටත් වෙනස් කරන්න. මෙම වෙනස්කම් සිදු කිරීමෙන් පසු, “Next” බොත්තම මත ක්ලික් කරන්න.

4. The next step is to answer the questions given in the business information page. After answering these questions click “Create” to create the Analytics property. ඊළඟ පියවර වන්නේ ව්‍යාපාර තොරතුරු පිටුවේ දක්වා ඇති ප්‍රශ්නවලට පිළිතුරු සැපයීමයි. මෙම ප්‍රශ්නවලට පිළිතුරු සැපයීමෙන් පසු Analytics Property සෑදීමට “Create” ක්ලික් කරන්න.

5. Select “Web” as the platform. Platform ලෙස “වෙබ්” තෝරන්න.

6. Enter the URL of your website in the text box titled website URL, and enter a name for your data stream. Make sure the “enhanced measurements” option is turned on. Click on “Create Stream” to create the data stream for your Appmaker App.

ඔබේ වෙබ් අඩවියේ URL එක “website URL” නම් පෙළ කොටුවේ ඇතුළු කරන්න, ඉන්පසු ඔබේ දත්ත ප්‍රවාහය සඳහා නමක් ඇතුළත් කරන්න. “enhanced measurements” විකල්පය සක්‍රීය කර ඇති බවට වග බලා ගන්න. ඔබගේ Appmaker යෙදුම සඳහා දත්ත ප්‍රවාහය සෑදීමට “Create Stream” මත ක්ලික් කරන්න.

7. Copy the measurement ID given by clicking on the copy icon. පිටපත් නිරූපකය මත ක්ලික් කිරීමෙන් ලබා දී ඇති measurement ID පිටපත් කරන්න.

8. Next step is to open Google Tags and click on “Add New Tag”. ඊළඟ පියවර වන්නේ Google ටැග් විවෘත කර “Add New Tag” මත ක්ලික් කිරීමයි

9. Give a name to your tag, and then click on the edit icon in the “Tag Configuration” section. ඔබගේ ටැගයට නමක් දෙන්න, ඉන්පසු “Tag Configuration” කොටසේ ඇති සංස්කරණ අයිකනය මත ක්ලික් කරන්න.

10. Select “GA4 configuration” as your tag type. ඔබගේ ටැග් වර්ගය ලෙස “GA4 configuration” තෝරන්න.

11. Add the measurement ID you copied into the text box. ඔබ පිටපත් කළ measurement ID පෙළ කොටුවට එක් කරන්න.

12. Click the edit icon in the section titled “Triggering”. “Triggering” යන මාතෘකාව යටතේ ඇති සංස්කරණ නිරූපකය ක්ලික් කරන්න.

13. Select “All Pages” as the trigger event. ප්‍රේරක සිදුවීම ලෙස “All Pages” තෝරන්න.

14. Click on the “Save” button to create the tag. ටැගය සෑදීමට “Save” බොත්තම ක්ලික් කරන්න.

15. Click on the “Preview” button to check if the tag has been installed correctly. ටැගය නිවැරදිව ස්ථාපනය කර ඇත්දැයි පරීක්ෂා කිරීමට “Preview” බොත්තම ක්ලික් කරන්න.

16. Enter the URL of your App in the text box. Then click on the “Connect” button. පෙළ කොටුව තුළ ඔබගේ යෙදුමේ URL ඇතුලත් කරන්න. ඉන්පසු “Connect” බොත්තම ක්ලික් කරන්න.

17. Click on “Continue” to proceed with the preview. පෙරදසුන සමඟ ඉදිරියට යාමට “Continue” මත ක්ලික් කරන්න.

18. If the tag has been correctly installed, you will see that the analytics code will appear at the top of the page. And in the section titled output, you should see the tag under the heading “Tags Fired”. This means that the analytics tag is working correctly. If the tag was under the section titled “Tags Not Fired”, then it means there is something wrong with your tag configuration.

ටැගය නිවැරදිව ස්ථාපනය කර ඇත්නම්, පිටුවේ ඉහළින්ම Analytics Code දිස්වන බව ඔබට පෙනෙනු ඇත. තවද “ප්‍රතිදානය” නම් කොටසේ, “Tags Fired” යන මාතෘකාව යටතේ ටැගය දැකිය යුතුය. මෙයින් අදහස් කරන්නේ Analytics Code නිවැරදිව ක්‍රියා කරන බවයි. ටැගය “Tags Not Fired” යන කොටස යටතේ තිබුනේ නම්, එයින් අදහස් වන්නේ ඔබගේ ටැග් වින්‍යාසයෙහි යම් දෝෂයක් ඇති බවයි.

19. After you confirm that the tag is working properly, click on the submit button to update your app with the Analytics tag. After this is done, your analytics property should get data from your Appmaker app. Please note that you need to give up to 48 hours for the Google Analytics to display the data.

ටැගය නිවැරදිව ක්‍රියා කරන බව ඔබ තහවුරු කළ පසු, විශ්ලේෂණ ටැගය සමඟ ඔබේ යෙදුම යාවත්කාලීන කිරීමට “Submit” බොත්තම ක්ලික් කරන්න. මෙය සිදු කිරීමෙන් පසු, ඔබගේ Analytics property ඔබගේ Appmaker App දත්ත ලබා ගත යුතුය. Google Analytics සඳහා දත්ත පෙන්වීමට ඔබට පැය 48ක් දක්වා ලබා දීමට අවශ්‍ය බව කරුණාවෙන් සලකන්න.

--

--

Appmaker

Appmaker is a code less App creation platform. We offer a range of powerful app templates that you can easily customise to bring your app idea to life.