Setup/UpgradeData.php
private function upgrade109(ModuleDataSetupInterface $setup)
    {
        $tableName = $setup->getTable('fastly_statistics');
        if ($setup->getConnection()->isTableExists($tableName) == true) {
            $data = [
                'action' => Statistic::FASTLY_INSTALLED_FLAG,
                'created_at' => $this->date->date()
            ];

            $setup->getConnection()->insert($tableName, $data); // @codingStandardsIgnoreLine - currently best way to resolve this
        }

        // Save current Fastly module version
        $this->configWriter->save(
            'system/full_page_cache/fastly/current_version',
            $this->helper->getModuleVersion()
        );

        // Generate GA cid and store it for further use
        $this->configWriter->save(
            'system/full_page_cache/fastly/fastly_ga_cid',
            $this->statistic->generateCid()
        );
        $this->cacheManager->clean([\Magento\Framework\App\Cache\Type\Config::TYPE_IDENTIFIER]);
        $setup->endSetup();
    }
private function upgrade109(ModuleDataSetupInterface $setup)
    {
        $tableName = $setup->getTable('fastly_statistics');
        if ($setup->getConnection()->isTableExists($tableName) == true) {
            $data = [
                'action' => Statistic::FASTLY_INSTALLED_FLAG,
                'created_at' => $this->date->date()
            ];

            $setup->getConnection()->insert($tableName, $data); // @codingStandardsIgnoreLine - currently best way to resolve this
        }

        // Save current Fastly module version
        $this->configWriter->save(
            'system/full_page_cache/fastly/current_version',
            $this->helper->getModuleVersion()
        );

        // Generate GA cid and store it for further use
        $this->configWriter->save(
            'system/full_page_cache/fastly/fastly_ga_cid',
            $this->statistic->generateCid()
        );
        $this->cacheManager->clean([\Magento\Framework\App\Cache\Type\Config::TYPE_IDENTIFIER]);
        $setup->endSetup();
    }
GA changes
@param ModuleDataSetupInterface $setup