{ "info": { "author": "BlueDynamics Alliance", "author_email": "dev@bluedynamics.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone :: 4.3", "Framework :: Plone :: 5.1", "License :: OSI Approved :: GNU General Public License (GPL)", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============\nbda.plone.gtm\n=============\n\nGoogle Tag Manager Integration.\n\n\nInstallation and Configuration\n==============================\n\n- Depend your installation to ``bda.plone.gtm``.\n\n- Install ``bda.plone.gtm`` via Plone Add-ons control panel.\n\n- Naviagte to \"Site Setup\" -> \"Add-on Configuration\" -> \"Google Tag Manager Settings\".\n\n- Set \"Enabled\" checkbox and enter \"Container ID\". Optionally edit \"Layer Name\"\n to your needs. This integration package handles the layer name properly.\n Anyway you need to be aware that any 3rd party JS using this package may\n depend hardcoded to the default layer name, so be careful with changing this\n setting.\n\n\nProviding Data\n==============\n\n``bda.plone.gtm`` by default tracks nothing. To track something useful,\n``bda.plone.gtm.interfaces.IGTMData`` adapters needs to be provided for the\nrelevant context.\n\nThe adapter implementation looks like:\n\n.. code-block:: python\n\n from a.package.interfaces import IMyContextInterface\n from bda.plone.gtm.interfaces import IGTMData\n from zope.component import adapter\n from zope.interface import implementer\n\n @implementer(IGTMData)\n @adapter(IMyContextInterface)\n class MyContextGTMData(object):\n\n def __init__(self, context):\n self.context = context\n\n @property\n def data(self):\n # data is a dict or a list of dicts.\n return {\n 'pageTitle': 'Home',\n 'visitorType': 'high-value'\n }\n\nRegister the data adapter:\n\n.. code-block:: xml\n\n \n\n \n \n\n \n\n\nContributors\n============\n\n- Robert Niederreiter (Author)\nChangelog\n=========\n\n1.0a1 (2018-06-06)\n------------------\n\n- Initial\n\nLicense\n=======\n\nCopyright (c) 2018, BlueDynamics Alliance, Austria\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this \n list of conditions and the following disclaimer.\n* Redistributions in binary form must reproduce the above copyright notice, this \n list of conditions and the following disclaimer in the documentation and/or \n other materials provided with the distribution.\n* Neither the name of the BlueDynamics Alliance nor the names of its \n contributors may be used to endorse or promote products derived from this \n software without specific prior written permission.\n \nTHIS SOFTWARE IS PROVIDED BY BlueDynamics Alliance ``AS IS`` AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL BlueDynamics Alliance BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "GNU General Public Licence", "maintainer": "", "maintainer_email": "", "name": "bda.plone.gtm", "package_url": "https://pypi.org/project/bda.plone.gtm/", "platform": "", "project_url": "https://pypi.org/project/bda.plone.gtm/", "project_urls": null, "release_url": "https://pypi.org/project/bda.plone.gtm/1.0a1/", "requires_dist": null, "requires_python": "", "summary": "Google Tag Manager Intergation", "version": "1.0a1" }, "last_serial": 3936634, "releases": { "1.0a1": [ { "comment_text": "", "digests": { "md5": "9d37eb34336dab1db17ad1fdfedc2cd1", "sha256": "d961daa0522f580e47490c84bc402aaaef94e9dfdb479be6b7c5799d4dacbabb" }, "downloads": -1, "filename": "bda.plone.gtm-1.0a1.tar.gz", "has_sig": false, "md5_digest": "9d37eb34336dab1db17ad1fdfedc2cd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15834, "upload_time": "2018-06-06T16:19:06", "url": "https://files.pythonhosted.org/packages/7c/23/9cf8e8336f4cd1e02cb79af47e36bbc9c20280e87bd63d4e9f5337e25bbc/bda.plone.gtm-1.0a1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9d37eb34336dab1db17ad1fdfedc2cd1", "sha256": "d961daa0522f580e47490c84bc402aaaef94e9dfdb479be6b7c5799d4dacbabb" }, "downloads": -1, "filename": "bda.plone.gtm-1.0a1.tar.gz", "has_sig": false, "md5_digest": "9d37eb34336dab1db17ad1fdfedc2cd1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15834, "upload_time": "2018-06-06T16:19:06", "url": "https://files.pythonhosted.org/packages/7c/23/9cf8e8336f4cd1e02cb79af47e36bbc9c20280e87bd63d4e9f5337e25bbc/bda.plone.gtm-1.0a1.tar.gz" } ] }