Click the link below to download the R script:
Download CausalImpact R Script